<?php
/**
 * This file is form http://findcat.cn
 *
 * @link     https://findcat.cn
 * @email    1476982312@qq.com
 */
namespace Blog\Seeder\Admin\Test;

use Carbon\Carbon;
use App\Models\User;
use Illuminate\Database\Seeder;

class UserTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run()
    {
        $data = [
            [
                'name'              => '犯二青年',
                'email'             => '1476982312@qq.com',
                'mobile'            => '18889396041',
                'email_verified_at' => Carbon::now(),
                'password'          => bcrypt('password'),
                'admin_user_id'     => 1,
                'created_at'        => Carbon::now(),
                'updated_at'        => Carbon::now(),
            ],
        ];

        User::query()->insert($data);
    }
}
